﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="report.aspx.cs" Inherits="report" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="css/default.css" rel="stylesheet" type="text/css" />

    <script src="http://ditu.google.cn/maps?file=api&amp;v=2&amp;key=ABQIAAAATcTMXz19lc__B_M3WVvwbhQIzkHTCtPNZVrAoZ38sz-8VOgjbRTZPir4Q1dR5rQbWXa7DoHPYRZKPw"
        type="text/javascript"></script>

    <script src="js/mapcontrol.js" type="text/javascript"></script>

    <script src="js/report.js" type="text/javascript"></script>

    <script src="js/jquery-1.5.1.min.js" type="text/javascript"></script>

    <script type="text/javascript">

        var _mymap = null;
        $(document).ready(function() {

            _mymap = new GpsMap("map", $("#map").height(), $("#map").width(), 114.50099, 38.01846, MapType.GOOGLE);
            _mymap.initMap();
            _mymap.AddControl(ControlType.LARGE);
            _mymap.AddControl(ControlType.MAPTYPE);
            _mymap.AddControl(ControlType.SCALE);
            _mymap.AddControl(ControlType.OVERVIEW);

        });
           
    </script>

    <style type="text/css">
        *
        {
            margin: 0;
            padding: 0;
        }
        .table
        {
            background: #f0f4f7;
            border: 0px solid #336ca1;
            margin: 0px auto;
            font: 9pt "宋体";
        }
        .TD
        {
            background: #f0f4f7;
            padding: 0 5px;
            height: 24px;
        }
        .label
        {
            background: #f0f4f7;
            font-weight: bold;
            text-align: right;
        }
        .title
        {
            background: #f0f4f7;
            text-align: center;
            font: 10pt "宋体";
            height: 16px;
            padding-top: 2px;
        }
        .info
        {
            height: 18px;
            background: #F4F4F4;
            font: 9pt "宋体";
            border: 1px solid #C0C0C0;
        }
        .notes
        {
            background: #F0F5F9;
        }
    </style>
</head>
<body bgcolor="#E6E6E6" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="778" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#333333">
        <tbody>
            <tr>
                <td width="164" valign="top" bgcolor="#FFFFFF">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tbody>
                            <tr>
                                <td>
                                    <table width="779" border="0" cellpadding="0" cellspacing="0">
                                        <tbody>
                                            <tr>
                                                <td width="779">
                                                    <img src="./img/top.gif" width="778" height="77">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="23" bgcolor="#0D8706">
                                                    <!--include menu -->
                                                    <!--#include file="include/menu.aspx"-->
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table width="779" cellpadding="0" cellspacing="0">
                                    </table>
                                    <table width="99%" align="center" class="biaoge-font" cellpadding="0" cellspacing="0">
                                        <tbody>
                                            <tr>
                                                <td align="center">
                                                    <p>
                                                        <span>
                                                            <br>
                                                            －－－－－－－－－－－－－－－－－－－－－－－ 污染源在线举报 －－－－－－－－－－－－－－－－－－－－－－－</span>
                                                    </p>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <form id="form1" runat="server">                                    
                                    <table width="99%" align="center" class="table" cellpadding="0" cellspacing="0">
                                        <tbody>
                                            <tr>
                                                <td colspan="5" class="title">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="label">
                                                    污染源名称
                                                </td>
                                                <td colspan="3" class="TD">
                                                    <label>
                                                        <input type="text" id="pollname" size="70" maxlength="64" name="pollname" value=""><font color="#FF0000">***</font>
                                                    </label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="label" width="10%">
                                                    <br />
                                                    <br />
                                                    <br />
                                                    污染源类型
                                                 
                                                    <br />
                                                    <br />
                                                    <br />
                                                </td>
                                                <td width="20%" class="TD">
                                                    <label>
                                                        <select name="polltype" size="1">
                                                            <option value="空气污染">空气污染</option>
                                                            <option value="水源污染">水源污染</option>
                                                            <option value="噪音污染">噪音污染</option>
                                                            <option value="生活垃圾污染">生活垃圾污染</option>
                                                            <option value="工业垃圾污染">工业垃圾污染</option>
                                                            <option value="辐射污染">辐射污染</option>
                                                        </select>
                                                    </label>
                                                   
                                                </td>
                                            </tr>                                            
                                            <tr>
                                                <td class="label">
                                                    污染源地址
                                                </td>
                                                <td colspan="3" class="TD">
                                                    <label>
                                                    <input type="hidden" id="lat" size="70" maxlength="64" name="lat" value="">
                                                    <input type="hidden" id="lon" size="70" maxlength="64" name="lon" value="">
                                                        <div style="width: 85%; height: 300px;" id="map">
                                                        </div>
                                                    </label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="label">
                                                    详细描述
                                                </td>
                                                <td colspan="3" class="TD">
                                                    <label>
                                                        <br />
                                                    <br />
                                                    <br />
                                                        <textarea name="caseDesc" id="caseDesc" cols="70" rows="10"></textarea><font color="#FF0000">***</font>
                                                    </label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="label">
                                                    上传图片
                                                </td>
                                                <td colspan="3" class="TD">
                                                    <label>
                                                        <span id="ufspan">                                                            
                                                             <asp:FileUpload ID="FileUpLoad1" runat="server" />     <font color="#FF0000">***</font>                                                         
                                                            </span>
                                                    </label>
                                                    附件大小不得超过4M,支持jpg、tif、png格式
                                                    <!--大于10M的文件属于大文件，上传方式需要通过手动ftp方式上传-->
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="4" class="title">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="label">
                                                    姓名：
                                                </td>
                                                <td class="TD">
                                                    <label>
                                                        <input type="text" id="userName" size="15" maxlength="10" name="userName" value="">
                                                        <font color="#FF0000">***</font>
                                                    </label>
                                                </td>
                                                
                                                     <td class="label">
                                                    联系电话：
                                                </td>
                                                <td class="TD">
                                                    <label>
                                                        <input class="text" id="userPhone" maxlength="25" name="userPhone" style="width: 200;"
                                                            value="">
                                                            <font color="#FF0000">***</font>
                                                    </label>
                                                </td>
                                              
                                            </tr>
                                            <tr>
                                                <td class="label">
                                                    证件名称：
                                                </td>
                                                <td class="TD">
                                                    <label>
                                                        <select name="cardType" size="1">
                                                            <option value="居民身份证">居民身份证</option>
                                                            <option value="临时居民身份证">临时居民身份证</option>
                                                            <option value="军官证">军官证</option>
                                                            <option value="暂住证">暂住证</option>
                                                            <option value="学生证">学生证</option>
                                                            <option value="机动车驾驶证">机动车驾驶证</option>
                                                            <option value="外交护照">外交护照</option>
                                                            <option value="公务护照">公务护照</option>
                                                            <option value="因公普通护照">因公普通护照</option>
                                                            <option value="普通护照">普通护照</option>
                                                            <option value="外国人出入境证">外国人出入境证</option>
                                                        </select>
                                                    </label>
                                                </td>
                                                <td class="label">
                                                    证件号码：
                                                </td>
                                                <td class="TD">
                                                    <label>
                                                        <input class="text" id="cardNumber" maxlength="25" style="width: 200;" name="cardNumber"
                                                            value="">
                                                    </label>
                                                </td>
                                            </tr>
                                        
                                        </tbody>
                                    </table>
                                    <table width="99%" align="center" class="table" cellpadding="0" cellspacing="0">
                                        <tbody>
                                            <tr>
                                                <td colspan="5" class="title">
                                                    <br />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="5" align="center" class="TD">
                                                    <label>
                                                        <asp:Button ID="btn_ok" runat="server" Text="确定" 
                                                        onclientclick="return checkType()" onclick="btn_ok_Click" />                                                        
                                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                                                        
                                                        <input type="reset" value="重填" name="Submit2" >
                                                    <br />
                                                    <br />
                                                    </label>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    </form>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <!--include foot -->
                    <!--#include file="include/foot.aspx"-->
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>
